package com.han.gift.clients;

import com.han.gift.common.util.AjaxResult;
import com.han.gift.entity.LoginUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @Author:Han
 * @Date :2023/2/26 18:49
 * @Description:
 */
@FeignClient(value = "GIFT-AUTH",fallbackFactory = LoginUserClientFallbackFactory.class)
public interface LoginUserClient {

    @PutMapping("loginUser")
    AjaxResult addOrUpdate(LoginUser loginUser);

}
